package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springblade.modules.admin.entity.ElevatorPrincipalDept;

import java.util.List;

public interface ElevatorPrincipalDeptMapper extends BaseMapper<ElevatorPrincipalDept> {

    List<ElevatorPrincipalDept> listAll();

    String getPrincipalDeptNames(Long elevatorId);

	String getPrincipalUserNames(Long elevatorId);

    List<ElevatorPrincipalDept> listInMaintainElevatorByDeptIds(List<Long> deptIds);

    List<ElevatorPrincipalDept> selectDeptGroupByElevatorIds(List<Long> elevatorIds);

    List<ElevatorPrincipalDept> listElevatorDeptByElevatorIds(List<Long> elevatorIds);
}
